package com.xunwulian.base.constant;

import com.xunwulian.base.util.DateStyle;
import com.xunwulian.base.util.DateUtil;

import java.util.Date;

public class ConstantBean {

    public static final boolean DEBUG = true;

    public static final int FAIL_VALUE_INT = -9999;

    public static final int FAIL_VALUE_LONG = -9999;

    public static final Double FAIL_VALUE_DOUBLE = -9999.99;

    public static final int PAGE = 10;

    public static final String XWL_GROUP = "xwl";

    public static final String ZXTD_CMPP_CLIENT_SERVICEID = "ZXTD";
    public static final String ZXTD_CMPP_CLIENT_SRCID = "1064899010324";
    public static final String ZXTD_CMPP_SERVER_CLIENTID = "010324";
    public static final String ZXTD_CMPP_SERVER_PASSWROD = "010324";

    public static final String OPEN = "open";

    public static final String ADMIN_USER_ID = "1";
    public static final String ADMIN_USER_NAME = "admin";
    public static final String ADMIN_ROLE_ID = "1";

    // 微信用测试帐号
    public static final String TEST_USER_ID = "9b07afa6f8534a1d8a5b887bb561d697";
    public static final String TEST_USER_NAME = "888";
    public static final String TEST_OPEN_ID = "888";
    public static final String DEFAULT_APPID = "zxtd";

    // 注册地址分隔符
    public static final String REGISTER_SPLITTER = "#";

    // 一条短信费用
    public static final Double SMS_FEE_UNIT = new Double(-0.1);

    public static final Date DEFAULT_DATE = DateUtil.StringToDate("1970-01-01", DateStyle.YYYY_MM_DD);
}
